]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
dash: add a workaround for Clutter bug 692744
authorGiovanni Campagna <gcampagna@src.gnome.org>
Mon, 28 Jan 2013 22:22:23 +0000 (23:22 +0100)
committerGiovanni Campagna <gcampagna@src.gnome.org>
Wed, 20 Feb 2013 19:51:11 +0000 (20:51 +0100)
https://bugzilla.gnome.org/show_bug.cgi?id=690643

js/ui/dash.js

index 1eb8d99754ecf97eb301b2ae2521c72a9dbce9ca..0de00a29c6a9adf10b64edadd9ddba144fd27213 100644 (file)
@@ -789,6 +789,10 @@ const Dash = new Lang.Class({
         for (let i = 0; i < addedItems.length; i++) {
             addedItems[i].item.show(animate);
         }
+
+        // Workaround for https://bugzilla.gnome.org/show_bug.cgi?id=692744
+        // Without it, StBoxLayout may use a stale size cache
+        this._box.queue_relayout();
     },
 
     _clearDragPlaceholder: function() {